@import "base";
html , body{
  overflow: scroll;
  -webkit-overflow-scrolling: touch;
}
#content{
  overflow: scroll;
  -webkit-overflow-scrolling: touch;
}
.cart{
  background: #fff;
  padding:0.2rem;
  padding-top:0;
  margin-bottom:px2rem(120px , $base-font-size);
}
.cart::after {
  content: '';
  clear: both;
  display:block;
}

.cart-top{
  height: 0.8rem;
  background: #f5f5f5;
  overflow: hidden;
}
.cart-top-left{
  float: left;
}

.cart-top-left input{
  width: 0.47rem;
  height: 0.47rem;
  margin:0.2rem;
  color: #ea4f55;
}
.cart-top-right{
  float: right;
}

.cart-top-right input{
  width: 0.8rem;
  height: 0.8rem;
  line-height: 0.8rem;
  text-align: center;
  border: none;
}

.cart-top-right button{
  background: #ea4f55;
  border: none;
  color: #fff;
  width: 0.8rem;
  height: 0.8rem;
}
.cart-bottom{
  display: flex;
  padding:0.2rem;
  height: 2rem;
  overflow: hidden;
  justify-content: space-between;
  border-top:1px solid #f5f5f5;
}

.cart-bottom-left img{
  width: 2rem;
  height: 2rem;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
}
.cart-bottom-center{
  display: flex;
  flex-direction: column;
  @include px2px('font-size' , 24);
  flex-grow : 4;
  margin-left: px2rem(10px , $base-font-size);
}
.cart-bottom-right-title , .cart-bottom-right-price{
  height: 1rem;
  line-height: 1rem;
}
.cart-bottom-right{
  @include px2px('font-size' , 24);
  flex-grow : 1;
  justify-content: center;
}
.cart-bottom-right input{
  width: 0.8rem;
  height: 0.8rem;
  line-height: 0.8rem;
  text-align: center;
  border: none;
}

.cart-bottom-right button{
  background: #ea4f55;
  border: none;
  color: #fff;
  width: 0.8rem;
  height: 0.8rem;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  border-radius: 50%;
}

.cart-address{
  padding-left: 0.4rem;
  padding-right: 0.2rem;
  padding-bottom: 0.4rem;
  padding-top: 0.4rem;
  @include px2px('font-size' , 24);
  display: flex;
  display: -webkit-flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  color: #000;
}
.cart-address-name{
  display: flex;
  display: -webkit-flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 4;
  height: 1.2rem;
}
.cart-address-tel{
  flex-grow: 1;
}
.cart-address-icon{
  flex-grow: 1;
  text-align: right;
  font-size: 18px;
}

.cart-total-price{
  display: flex;
  display: -webkit-flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding:0.2rem 0;
  height: 1.2rem;
  background: #fff;
  position: fixed;
  bottom:0;
  width: 100%;
  z-index: 100;
}
.cart-total-price button{
  background: #ea4f55;
  width: 2rem;
  height: 1.2rem;
  border: none;
  color: #fff;
  padding:0.1rem;
  @include px2px('font-size' , 24);
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  margin-right: 0.2rem;
}
.total{
  margin-left: 0.2rem;
}
.total-price{
  color: #ea4f55;
  @include px2px('font-size' , 36);
  margin-left:2px;
}

.order-peisong-notice{
  flex-grow: 1;
}

.order-comfirm-title{
  @include px2px('font-size' , 24);
  line-height: 0.8rem;
  margin-left: 0.4rem;
}
.order-pay-type-box{
  padding: 0.4rem;
  background: #fff;
}
.order-pay-type{
  display: flex;
  display: -webkit-flex;
  flex-direction: column;
  justify-content: space-between;
}
.order-pay-type-item{
  display: flex;
  display: -webkit-flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  @include px2px('font-size' , 36);
  padding: 0.2rem;
}
.bottom-line{
  border-bottom: 1px solid #f5f5f5;
}
.order-pay-type-item span{
  flex-grow: 1;
  margin-left: 0.4rem;
}

.order-pay-price-box{
  padding: 0.4rem;
  background: #fff;
}

.order-pay-price{
  display: flex;
  display: -webkit-flex;
  flex-direction: column;
  justify-content: space-between;
}
.order-pay-price-item{
  display: flex;
  display: -webkit-flex;
  flex-direction: row;
  justify-content: space-between;
  margin-bottom: 0.2rem;
  align-items: center;
  @include px2px('font-size' , 24);
  padding: 0.2rem;
}

.order-pay-price-total{
  font-size: 18px;
}
.order-pay-price-total-num{
  color: #ea4f55;
}

.label_radio{
  width: 16px;
  height: 16px;
  border: 2px solid #ea4f55;
  -webkit-border-radius:50%;
  border-radius:50%;
  -moz-border-radius:50%;
  line-height: 16px;
  text-align: center;
}
.label_radio input{
  position: absolute;
  z-index: -99999;
}
.lr_on{
  background: #ea4f55;
}

.order-tab {
  background-color: #F9FAFD;
  padding: 0.3rem 0;
  text-align: center;
}
.order-tab-ul {
  display: flex;
  align-items: center;
  margin: 0 auto;
  width:px2rem(300px ,$base-font-size);
  background-color: #fff;
  border: 1px solid #ea4f55;
}
.order-tab-ul li {
  display: inline-block;
  width: 2rem;
  line-height: 0.8rem;
  height: 0.8rem;
  text-align: center;
}
.order-tab-ul li.active {
  background-color: #ea4f55;
  color: #fff;
}
.order-tab-ul li:first-child {
  border-right: 1px solid #ea4f55;
}
.order-status {
  display: flex;
  flex-direction: row;
  background-color: #fff;
  padding: 0.5rem 0;
  height: 100%;
}
.order-steps {
  width: 1rem;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
.order-step-circle {
  width: 0.4rem;
  height: 0.4rem;
  background-color: #ccc;
  border-radius: 0.3rem;
}
.order-step-circle.active {
  background-color: #ea4f55;
}
.order-step-line {
  width: 2px;
  height: 2rem;
  background-color: #ccc;
  margin-right: 0.2rem;
}
.order-steps-right {
  flex: 1;
  margin-left: 0.3rem;
}
.order-steps-item {
  position: relative;
  overflow: hidden;
  border-bottom: 2px solid #ccc;
  height: 2.1rem;
  margin-top: 0.26rem;
}
.order-steps-item.first {
  margin-top: 0;
}
.order-steps-title {
  color: #333;
}
.order-steps-time {
  position: absolute;
  right: 0.2rem;
  top: 0;
  color: #666;
}
.order-steps-tip {
  margin-top: 0.5rem;
  color: #666;
}
.order-detail {
  display: none;
}
.order-status-bottom {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  border-top: 1px solid #ccc;
  padding: 0.3rem;
}
.order-status-bottom button {
  padding: 0.2rem 0.5rem;
  background-color: #ea4f55;
  font-size: 0.3rem;
  margin-right: 0.3rem;
  color: #fff;
  border: none;
}